package com.acme.bankapp.domain.bank;

public class NotEnoughFundsException extends BankException {

	private static final long serialVersionUID = -4073483762567384213L;

	protected double amount;

	public NotEnoughFundsException() {
		super();
	}

	public NotEnoughFundsException(double amount) {
		super();
		this.amount = amount;
	}

	public NotEnoughFundsException(String message, Throwable cause,
			boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}

	public NotEnoughFundsException(String message, Throwable cause) {
		super(message, cause);
	}

	public NotEnoughFundsException(String message) {
		super(message);
	}

	public NotEnoughFundsException(Throwable cause) {
		super(cause);
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

}
